#include "CAnswer.h"

CAnswer::CAnswer() {
	textAnswer = QString();
	rightAnswer = false;
}

void CAnswer::setTextAnswer(QString text)
{
    this->textAnswer = text;
}

QString CAnswer::getTextAnswer() const
{
    return this->textAnswer;
}

void CAnswer::setRightAnswer(bool isRightAnswer)
{
    this->rightAnswer = isRightAnswer;
}

bool CAnswer::isRightAnswer() const
{
    return this->rightAnswer;
}
